<%if get_user_type != '2'%>
  我的收藏<br/>
<%else%>
  <%= link_to "我的地盘>>",:controller => 'user_cfg', :action => 'user_cfg',:resource => @resource,:go_page => @go_page,:page_for => @page_for,:img_style => @img_style,:pp_style => @pp_style,:pp_num =>@pp_num,:sid=>my_sid,:cn=>my_cn %>我的收藏<br/>
<%end%>
<% @user_collects.each_with_index do |uc,res_index| %>
  <%
  if params[:page].to_i == 0
    res_index = res_index + 1
  else
    res_index = res_index + 1 + (params[:page].to_i - 1)*$col_per_page
  end
%>
  <%= link_to  res_index.to_s+"." + uc.res_name+"[#{uc.img_index+1}]",
    :controller => 'user_cfg',
    :action => 'user_collect_res',:uc_id => uc.id,:uc_index => res_index ,:go_page => @go_page,:page_for => @page_for,:img_style => @img_style,:pp_style => @pp_style,:pp_num =>@pp_num,:sid=>my_sid,:cn=>my_cn %><br/>
  <%= link_to "进入套图",:controller => 'col',:action => 'show_small',:resource => uc.res_id,:go_page => @go_page,:page_for => @page_for,:img_style => @img_style,:pp_style => @pp_style,:pp_num =>@pp_num,:sid=>my_sid,:cn=>my_cn %>-<%= link_to "删除",:controller => 'user_cfg',:action => 'user_collect_del',:uc_id => uc.id,:go_page => @go_page,:page_for => @page_for,:img_style => @img_style,:pp_style => @pp_style,:pp_num =>@pp_num,:sid=>my_sid,:cn=>my_cn %>-<%= link_to "点评[#{get_comments(uc.res_id)}]" ,:controller => 'user_cfg',:action => 'user_comment',:resource => uc.res_id,:go_page => @go_page,:page_for => @page_for,:img_style => @img_style,:pp_style => @pp_style,:pp_num =>@pp_num,:sid=> my_sid,:cn=>my_cn %><br/>
<% end %>
<%= will_paginate @user_collects,:type => 'wml',:params => {:sid => my_sid,:cn=>my_cn} %>
<br/><%= page_entries_info @user_collects,:type => 'wml',:is_img => false %><br/>
<%if get_user_type != '2'%>
  【重要提示】<br/>
  您尚未注册,请请及时保存书签.否则可能会丢失收藏图片.<br/>
  VIP会员免费开放中[简单/快速].不再担心收藏图片丢失.还可以体验更好更快的个性化星级服务!<br/>
  [-<%= link_to "免费注册",:controller => 'user_cfg', :action => 'user_register',:img_style => @img_style,:pp_style => @pp_style,:pp_num =>@pp_num,:sid=>my_sid,:cn=>my_cn %>-]<br/>
<%end%>
<%unless @resource.nil?%>
  <%= link_to "返回继续浏览",:controller => 'col', :action => 'img_style_to',:resource => @resource,:go_page => @go_page,:page_for => @page_for,:img_style => @img_style,:pp_style => @pp_style,:pp_num =>@pp_num,:sid=>my_sid,:cn=>my_cn %><br/>
<%else%>
  <anchor><prev/>返回上一页</anchor><br/>
<%end%>
<%= link_to "返回首页",:controller => 'wap', :action => 'show',:img_style => @img_style,:pp_style => @pp_style,:pp_num =>@pp_num,:sid=>my_sid,:cn=>my_cn %>
